$a^k \left( \bmod n \right)$
Enter number $a$:
Enter number $k$:
Enter number $n$:
Compute $a^k \left( \bmod n \right)$